

import 'package:flutter/services.dart';


class MyYSTextView   {

  String Channel;

  @override
  final String tag__ = 'MyYSTextView';

  MyYSTextView(String _Channel){
    Channel = _Channel;
  }


  Future<void> onCreate() async {
    // invoke native method
    final __result__ = await MethodChannel(
        Channel)
        .invokeMethod('onCreate', {"__this__": "123"});

    // handle native call
    // convert native result to dart side object
    if (__result__ == null) {
      return null;
    } else {
      final __return__ = __result__;
      return __return__;
    }
  }

  Future<void> onResume() async {
    // invoke native method
    final __result__ = await MethodChannel(
        Channel)
        .invokeMethod('onResume', {"__this__": "123"});

    // handle native call
    // convert native result to dart side object
    if (__result__ == null) {
      return null;
    } else {
      final __return__ = __result__;
      return __return__;
    }
  }

  Future<void> onPause() async {
    // invoke native method
    final __result__ = await MethodChannel(
        Channel)
        .invokeMethod('onPause', {"__this__": "123"});

    // handle native call
    // convert native result to dart side object
    if (__result__ == null) {
      return null;
    } else {
      final __return__ = __result__;
      return __return__;
    }
  }


  Future<void> onDestroy() async {
    // invoke native method
    final __result__ = await MethodChannel(
        Channel)
        .invokeMethod('onDestroy', {"__this__": "123"});

    // handle native call
    // convert native result to dart side object
    if (__result__ == null) {
      return null;
    } else {
      final __return__ = __result__;
      return __return__;
    }
  }



}
